#Functions are covered in Chapter 3 - http://www.openbookproject.net/thinkcs/python/english/chap03.htm
import random

def add(i,j):
    return i + j

def y_line(x, m, b):
    y = m*x + b
    return y

def rand_choice():
    choice = ['a','b','c']
    x = random.randint(0,2)
    return choice[x]

x = rand_choice()
print x


